package com.cyl.manager.act.domain.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * VIP兑换码表 查询 对象
 *
 * @author zcc
 */
@ApiModel(description="VIP兑换码表 查询 对象")
@Data
public class BatchGenerateRequest {
    @ApiModelProperty(value = "生成数量", required = true)
    @NotNull(message = "数量不能为空")
    private Integer count;

    @ApiModelProperty(value = "过期时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "过期时间不能为空")
    private String expireTime;

    @ApiModelProperty(value = "充值数据ID", required = true)
    @NotNull(message = "充值数据ID不能为空")
    private Long rechargeDataId;

    @ApiModelProperty("备注")
    private String remark;
}
